import { createPinia } from 'pinia'
import persist from 'pinia-plugin-persistedstate'

const pinia = createPinia()
pinia.use(persist)

export default pinia

//如果有新的store 照着写
// import {useUserStore} from './modules/user'
// export {useUserStore}

//简化
export * from './modules/user'
export * from './modules/plan'